import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from '@/components/Login'
import AddDepartment from '@/components/AddDepartment'
import Adduser from '@/components/Adduser'
import Showuser from '@/components/Showuser'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/AddDept',
      name: 'AddDepartment',
      component: AddDepartment
    },
    {
      path: '/Adduser',
      name: 'Adduser',
      component: Adduser
    },
    {
      path: '/Showuser',
      name: 'Showuser',
      component: Showuser
    }
  ]
})
